package com.caigou.mapper.bid;

import com.caigou.bean.bid.entity.BidRolePrivXw;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BidRolePrivXwMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(BidRolePrivXw record);


    int insertSelective(BidRolePrivXw record);

    BidRolePrivXw selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BidRolePrivXw record);

    int updateByPrimaryKey(BidRolePrivXw record);

    List<BidRolePrivXw> findPrivilsByRoleIds(@Param("roleIds") List<Long> roleIds);

}
